from django.db import models

# Create your models here.
class Student(models.Model):
    SEX=[('0','男'),('1','女')]
    id=models.AutoField(primary_key=True)
    stu_name=models.CharField(max_length=255)
    sex=models.CharField(max_length=255,choices=SEX)
    classs=models.CharField(max_length=255)#此处class无法使用,我用的classs来代替
    specialized=models.CharField(max_length=255)
    img_path=models.CharField(max_length=255)